package com.hzau.tourist_service_sys.service;

import com.hzau.tourist_service_sys.pojo.Hotel.Discount;
import com.hzau.tourist_service_sys.pojo.Hotel.Hotel;
import com.hzau.tourist_service_sys.pojo.Hotel.HotelOrders;
import com.hzau.tourist_service_sys.pojo.Hotel.Sell;
import com.hzau.tourist_service_sys.result.Result;


public interface HotelService {
    Result search(Hotel hotel);



    Result infoFind(Hotel hotelId);

    Result findAllOrders(Integer hotelId, int pagenum);

    Result findOrderDetails(Integer hr_id, Integer ihotelId);

    Result insertOrders(HotelOrders hotelOrders);

    Result hotelUpdateOrders(HotelOrders hotelOrders);

    Result insertDiscount(Discount discount);

    Result selectAllPrice(long hotelId, int pagenum);

    Result calculateRevenue(long hotelId);

    Result calculateRestRooms(long hotelId);

    Result hotelInfo(long hotelId);

    Result selectAllSells(int pagenum);

    Result sellDetails(long recommendId);

    Result deleteSells(long recommendId);

    Result insertSells(Sell sell);

    Result hotelFindAllDiscount(long hotelId);

    Result deleteDiscount(long hotelId, int roomtype);

    Result getHotelByAdminId(Integer userId);

//s

//    Result hotelFindAllDiscount(long hotelId);
}
